Is there a command line or script used to locate an email that a user claims was moved or never came in, yet the server states it was delivered?
I am basically looking for a way to search a users mailbox thru command or powershell and have it display the folder/path in Outlook where the message was dragged to accidentally.
I tried the Search-Mailbox -Identity "Fred Flintstone" -SearchQuery 'from:BarneyR@BedrockQuarryandGravel.com' but I don't want to delete or export the message, just find the path where its located in Outlook.
Thanks in advance.
Search a users mailbox for a "missing" email
April 6th, 2015 2:33pm
Use Search-Mailbox with the -EstimateResultOnly parameter. Also, setting the LogLevel full and copying the results to another mailbox will tell you where the message is and whether it has been read.
- Proposed as answer by Lynn-LiMicrosoft contingent staff, Moderator 22 minutes ago
Free Windows Admin Tool Kit Click here and download it now
April 6th, 2015 4:30pm
Use Search-Mailbox with the -EstimateResultOnly parameter. Also, setting the LogLevel full and copying the results to another mailbox will tell you where the message is and whether it has been read.
- Proposed as answer by Lynn-LiMicrosoft contingent staff, Moderator Tuesday, April 07, 2015 7:01 AM
April 6th, 2015 8:28pm
Hi,
Try this command:
Search-Mailbox -Identity "Fred Flintstone" -SearchQuery 'from:BarneyR@BedrockQuarryandGravel.com' -TargetMailbox your mailbox -TargetFolder folder name -logLevel Full
This command just copy the message from source mailbox as attachment to target mailbox with full log level. Then you can open that attachment to see more details.
Note: we cannot use the EstimateResultOnly switch with the TargetMailbox and Loglevel parameter.
Best Re
Free Windows Admin Tool Kit Click here and download it now
April 7th, 2015 3:10am
Were you able to find the message?
April 16th, 2015 8:44pm